﻿using Demo.Domains.Entities.Sys;
using Demo.PetaPoco.Application.DbContexts;
using Microsoft.Extensions.DependencyInjection;
using PmSoft.Core;
using PmSoft.Data.PetaPoco.Repositories;

namespace Demo.PetaPoco.Application.Services.Attachment;

[Inject(ServiceLifetime.Scoped)]
public class AttachmentRepository : CacheRepository<AppDbContext, SysAttachment, string>
{
	public AttachmentRepository(AppDbContext dbContext,
		IApplicationContext applicationContext)
		: base(dbContext, applicationContext)
	{

	}
}
